package models

import (
	"time"
)

type Chunk struct {
	ChunkId          int64     `xorm:"not null pk BIGINT"`
	ChunkNumber      int       `xorm:"not null INT"`
	ChunkSize        int64     `xorm:"not null BIGINT"`
	CurrentChunkSize int64     `xorm:"not null BIGINT"`
	Identifier       string    `xorm:"not null VARCHAR(255)"`
	TotalChunks      int       `xorm:"not null INT"`
	TotalSize        int64     `xorm:"not null BIGINT"`
	UploadTime       time.Time `xorm:"not null DATETIME"`
}
